<?php
/**
 * Created by PhpStorm.
 * User: chenx
 * Date: 18-3-1
 * Time: 上午10:18
 */

namespace common\models;


use yii\db\ActiveRecord;

class JurisdUser extends ActiveRecord
{
    public static function tableName()
    {
        return 'jurisd_user';
    }

    public function rules()
    {
        return [
            [['admin_id','group_id'],'integer'],
            [['created_at','updated_at'],'safe'],
            ['user_mech','integer']
        ];
    }

    public function attributeLabels()
    {
        return [
            'id	'=>'自动增量id' ,
            'admin_id' =>' 用户id' ,
            'user_mech' =>' 	标志 1,2,3' ,
            'group_id' =>' 用户组的id' ,
            'created_at' =>'	创建时间' ,
            'updated_at' =>'	修改时间'
        ];
    }
}